CertificateErrorCallback

The callback is invoked when an SSL certificate error occurs during loading a web page. The passed Params object contains information about the problematic SSL certificate.

Use the allow method to allow the certificate and continue loading the web page.

Use the deny method to deny the certificate and continue loading the web page. An error page will be loaded. This is the default behavior.

Use the cancel method to cancel loading.

If the callback throws an exception, the deny method will be invoked.

Types

Link copied to clipboard
An action providing a response to the CertificateErrorCallback.
Link copied to clipboard
interface Params
The parameters of the CertificateErrorCallback.

Functions

Link copied to clipboard
abstract fun on(params: P, tell: R)
Invoked when the callback needs a response for the given callback parameters.